<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://cdn.bootcss.com/angular.js/1.6.4/angular.min.js"></script>

</head>
<body>
    <div ng-app="" ng-init="one='page1.html'">
        <!--ng -include 提取第一个页面-->
        <div>我是一个导航栏
            <span ng-click="one='page1.html'">首页</span>
            <span ng-click="one='shop.html'">购物车</span>
        </div>
        <div ng-include="one"></div>
    </div>
</body>
</html>